public class Main {
    public static int test(int x, int y) {
        if (10 > x && x > 0 && x + y > 5) {
            return 1;
        } else {
            return -1;
        }
    }

    public static void main(String[] args) {
        // 示例调用
        int x = 3;
        int y = 3;
        int result = test(x, y);
        System.out.println("Result: " + result);
    }
}